package com.crazy.web.config.mq.rabbitmq;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * rabbitmq的参数配置
 * @author zhaochaofeng
 * @version 1.0
 * @date 2021/1/7 14:48
 */
@Data
@Component
@ConfigurationProperties(prefix = "rabbitmq")
public class RabbitMqEntity {

    private String localhost;
    private int port;
    private String vhost;
    private String userName;
    private String password;

}
